﻿@model MVCDemo.Models.EmployeeEx

<table style="font-family: Arial; border: 1px solid black; width: 300px">
        <tr>
            <td>
                <input type="checkbox" id="employeeIdsToDelete" name="employeeIdsToDelete" value="@Model.Id" />
            </td>
            <td>
                @Html.Image(Model.Photo, Model.AlternateText)
            </td>
            <td>
                <table>
                    <tr>
                        <td><b>Age:</b></td>
                        <td>@Model.Age</td>
                    </tr>
                    <tr>
                        <td><b>Gender:</b></td>
                        <td>@Model.Gender</td>
                    </tr>
                    <tr>
                        <td><b>Salary:</b></td>
                        <td>@Model.Salary</td>
                    </tr>
                    <tr>
                        <td>@Html.ActionLink("edit", "edit", new {id = @Model.Id })</td>
                        <td>@Html.ActionLink("details","details", new {id = @Model.Id })</td>
                    </tr>
                </table>
            </td> 
        </tr>
    </table>